Skip to content

Instantly share code, notes, and snippets.

@xurizaemon
Last active January 9, 2018 20:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xurizaemon/571c495dbd7feaa129f0202e247d6634 to your computer and use it in GitHub Desktop.
Save xurizaemon/571c495dbd7feaa129f0202e247d6634 to your computer and use it in GitHub Desktop.
koans of civicrm
"pseudocommit"
@param null $ids
$ugWeDoNotKnowIfItNeedsCleaning_Help
Another godawful libxml bug
be forgiveful of sloppily api calls
Can someone make this go away?
Check that create doesn't work with an invalid
CHILLING OUT AT THE CIVICRM_EMAIL TABLE
DAO is kinda crappy in that there is an unwritten rule of one query per DAO.
Dear God Why Do I Have To Write This (Dumb SQL Builder)
dear god why? these come out in a format that is NOT the name of the fields.
Depending on the impact value certain actions are performed.
do cache when user has non/supper permission.
do we have supper permission.
Every field you add to this array kills a small kitten so add carefully.
first check for supper permission.
Fix values from query from/to something no-one cared enough to document.
free the dao
get ready for problems
God, why god?
Governs the whole mozilla
here contact might have supper/non permission.
if we get do not get contribution id means we are editing the scheduled payment.
In the current schema design, this is necessarily a bit messy.
it silently sips invalid params
logic may have eroded?
Merge something or other.
Mixing modes will lead to someone getting an expected substitution.
No clue about the ezcMailDeliveryStatus.
Not dying here is stupid
Not sure if this is a good idea...
passing this via the session is AWFUL. we need to fix this
Please understand the implications before using this.
possibly $fieldName should possibly be marked as mandatory for this API
Someone kindly bequethed us the legacy of mixed up use of main_id & other_id
So. Weird. Some bizarre/probably-broken multi-lingual thing
some weird circular thing means the error takes itself as an argument
Sorry but we are not able to provide this at the moment.
the product field got added because it suited someone's use case.
This function rects on the values in the incoming results array.
This is a bit too much about wierd form interpretation to be this deep.
this is pretty weird
This is scary code.
This is weird. Waddupwidat?
this might need the camel treatment
This one is weird. What the heck is this anyway?
This should not exist. It should be removed in a future version.
This table has a wonky index.
Who knows? Hu knows. He who knows Hu knows who.
XSKETCHY: work around godawful libxml bug
ZeroDollarsPayLater
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment